import request from '@/plugin/axios/other'

/**
 * 获取新闻资讯下拉列表
 * @param {*} data
 */
export function getNewsList (data) {
  return request({
    url: '/news/getNewsList',
    method: 'get',
    params: data
  })
}

/**
 * 获取展厅下拉列表
 * @param {*} data
 */
export function getShowroomList (data) {
  return request({
    url: '/showroom/getShowroomList',
    method: 'get',
    params: data
  })
}

/**
 *获取展厅藏品下拉列表
 * @param {*} data
 */
export function getShowroomCollectionList (data) {
  return request({
    url: '/showroomCollection/getShowroomCollectionList',
    method: 'get',
    params: data
  })
}

/**
 * 获取藏品下拉列表
 * @param {*} data
 */
export function getCollectionList (data) {
  return request({
    url: '/collection/getCollectionList',
    method: 'get',
    params: data
  })
}
